package cn.pzhuweb.service.imp;

import cn.pzhuweb.dao.CarDAO;
import cn.pzhuweb.dao.imp.CarDAOImp;
import cn.pzhuweb.pojo.Car;
import cn.pzhuweb.pojo.Message;
import cn.pzhuweb.service.CarService;

import java.util.List;

/**
 * @author Yancy xiao
 * @create 2022-11-15 10:38
 */
public class CarServiceImp implements CarService {
    private CarDAO dao = new CarDAOImp();

    @Override
    public List<Car> showAll() {
        return dao.selectAll();
    }

    @Override
    public Message updateCarInfo(Car car) {
        return null;
    }

    @Override
    public Message removeCarInfo(Integer id) {
        return null;
    }

    @Override
    public Message addCarInfo(Car car) {
        return null;
    }

    @Override
    public List<Car> searchByKeywords(String keywords) {
        return null;
    }
}